package com.thp.proxy.jdk;
/**
 * 张三 单身
 * @author Tommy
 *
 */
public class Zhangsan implements Person {

	private String sex = "男";
	private String name = "张三";
	
	@Override
	public void findLove(String desc) {
		System.out.println("姓名: " + this.name + "  性别:" + this.sex);
		System.out.println("女友要求: ");
		System.out.println("年轻,漂亮,会做饭,孝顺,善良");
		System.out.println("++++++++++++++");
		System.out.println(desc);
		System.out.println("++++++++++++++");
	}

	
	@Override
	public void findCompare(String desc) {
		System.out.println("姓名: " + this.name + " 性别: " + this.sex);
		System.out.println("寻找合适的对象");
		System.out.println("性格合适");
		System.out.println("****************");
		System.out.println(desc);
		System.out.println("****************");
	}
	
	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

}
